<h2>Reports</h2>
<div id="reports">
<%= content_tag 'h3', 'No Reports to Display' if @reports.empty? %>
<% for report in @reports %>
  <div id="report">
    <h4 id="user"><%=h report.user.name %></h4>
    <div id="content"><%= simple_format(report.content) %></div>
    <div id="actions">
      <%= link_to 'see post', topic_post_path(report.post) %>
      <% if current_user.can_destroy_report? report %>
        | <%= link_to 'destroy', report_path(report), :confirm => 'Are you sure?', :method => 'delete' %>
      <% end %>
    </div>
  </div>
<% end %>
</div>